package com.ytjj.qmyx.admin.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ygyx-quartz")
public interface QuartzClient {

    @GetMapping("/channel/batch/insert")
    void channelBatchInsert(@RequestParam(value = "startTime", required = false) String startTime,
                            @RequestParam(value = "endTime", required = false) String endTime);

    @GetMapping("/channel/batch/insert-p")
    void channelBatchInsertP(@RequestBody String requestJson);
}
